package com.mingqijia.gassafety.webserver.request;

import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * @author zhangfei
 * @version 1.0.0
 * @ClassName UpdateListShowRequest.java
 * @Description TODO
 * @createTime 2023年09月22日
 */
@Data
public class UpdateListShowRequest {
    //列表编码
    @NotBlank(message = "列表编码不能为空")
    private String listCode;

    //列表字段调整集合
    @NotNull(message = "字段配置不能为空")
    @Size(min = 1,message = "至少包含一个内容")
    @Valid
    private List<FieldListShowRequest> listShowRequests;

}